import { createApp } from "vue";
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
import App from "./App.vue";
import router from "./router";
import iconDict from "@/dict/icon";
import zhCn from "element-plus/dist/locale/zh-cn.mjs";
import "@/assets/iconfont/iconfont.css";
import "@/assets/global.css";
import { setupPinia } from '@/stores/index'

const app = createApp(App);
setupPinia(app)

app.use(iconDict);
app.use(router);
app.use(ElementPlus, {
  locale: zhCn
});
app.mount("#app");
